package com.example.leetcode.hash;

import com.example.leetcode.hash.common.HashUtils;

import java.util.Arrays;

class Solution2341 {
    public int[] numberOfPairs(int[] nums) {
        return HashUtils.numberOfPairs(nums);
    }
}

public class leetcode2341 {
    public static void main(String[] args) {
        Solution2341 solution2341 = new Solution2341();
        int[] nums = {1, 3, 2, 1, 3, 2, 2};
        System.out.println(Arrays.toString(solution2341.numberOfPairs(nums)));
    }
}
